package com.dongjiantong.sys.service;

import com.dongjiantong.mybatis.BaseService;
import com.dongjiantong.sys.model.SysArea;

import java.util.List;

/**
 * Created by cao on 2017/11/9.
 */
public interface SysAreaService  extends BaseService<SysArea> {

    SysArea getAreaName(Integer province_id, Integer city_id, Integer region_id, Integer street_id, Integer village_id);

    List<SysArea> getAllList();

    List<SysArea> getProvinceList();

    List<SysArea> getCityList(Integer province_id);

    List<SysArea> getRegionList(Integer province_id, Integer city_id);

    List<SysArea> getStreetList(Integer province_id, Integer city_id, Integer region_id);

    List<SysArea> getVillageList(Integer province_id, Integer city_id, Integer region_id, Integer street_id);

}
